package com.gitee.sys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gitee.mybase.top.entity.SysDept;
import com.gitee.mybase.top.entity.SysRole;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chengkaimao
 * @since 2018-11-17
 */
public interface ISysRoleService extends IService<SysRole> {

    IPage<SysRole> getPage(long current, long size, SysRole sysRole);

    int saveRole(SysRole sysRole);

    int updateRole(SysRole sysRole);

    int delRole(String roleCode);
}
